IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'dbo.webtools_Objects') AND type in (N'U'))
DROP TABLE dbo.webtools_Objects
GO

SET NUMERIC_ROUNDABORT OFF
GO
SET ANSI_PADDING,ANSI_WARNINGS,CONCAT_NULL_YIELDS_NULL ,ARITHABORT,QUOTED_IDENTIFIER,ANSI_NULLS ON
GO
CREATE TABLE dbo.webtools_Objects
(
	ObjectId	int IDENTITY(1,1) NOT NULL PRIMARY KEY CLUSTERED,
	TypeName	nvarchar(256),
	ObjectXml	xml NOT NULL
) 
GO
CREATE PRIMARY XML INDEX xml_ix_webtools_Objects_ObjectXml ON dbo.webtools_Objects(ObjectXml)
GO
CREATE XML INDEX xml_ix_webtools_Objects_ObjectXml_PATH ON dbo.webtools_Objects(ObjectXml) USING XML INDEX xml_ix_webtools_Objects_ObjectXml FOR PATH
GO
